package com.ynunicom.dc.dingdingcontractapp.service;

import com.alibaba.fastjson.JSONObject;
import com.ynunicom.dc.dingdingcontractapp.entity.requestbodyentity.NewStaffRequestBody;
import com.ynunicom.dc.dingdingcontractapp.entity.requestbodyentity.PageRequestEntity;
import com.ynunicom.dc.dingdingcontractapp.entity.requestbodyentity.TransBody;
import com.ynunicom.dc.dingdingcontractapp.entity.requestbodyentity.UpdateStaffRequestBody;

/**
 * @author: jinye.Bai
 * @date: 2020/5/25 14:17
 */
public interface UserOptionService {

    public JSONObject createNewStaff(TransBody<NewStaffRequestBody> transBody);

    public JSONObject updateStaff(TransBody<UpdateStaffRequestBody> transBody);

    public JSONObject deleteStaff(TransBody<String> transBody);

    public JSONObject getUserInfo(TransBody<String> transBody);

    public JSONObject getDeptUserId(TransBody<String> transBody);

    public JSONObject getDeptUserInfo(TransBody<String> transBody);

    public JSONObject getDeptUserDetail(TransBody<PageRequestEntity> transBody,String department_id);

    public JSONObject exchangeUnionId2UserId(TransBody<String> transBody);

    public JSONObject mobileToUserId(TransBody<String> transBody);

    public JSONObject allUpperDeptPath(TransBody<String> transBody);
}
